package com.zwl.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("room_containers")
public class RoomContainers {


    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("room_name")
    private String roomName;

    @TableField("container_image")
    private String containerImage;

    @TableField("container_info")
    private String containerInfo;
}
/**
 *     id INT AUTO_INCREMENT PRIMARY KEY,
 *     item_image TEXT COMMENT '存储钥匙卡物品的图片链接或标识信息',
 *     room_name VARCHAR(30) NOT NULL COMMENT '钥匙卡的名称，该字段不允许为空',
 *     container_info TEXT COMMENT '房间对应的容器信息容器的详细信息'
 */